package com.yssoft.entity.special;/*
 * All content copyright http://www.j2eefast.com, unless
 * otherwise indicated. All rights reserved.
 * No deletion without permission
 */


import com.yssoft.datasource.DataSource;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;


import java.io.Serializable;

/**
 * 近三年销售情况
 */

@Data
@Table(name="TS_THREE_YEARS_SALES")
public class TsThreeYearsSalesEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /** id */
    @Id
    @GeneratedValue(generator = "JDBC")
    private String id;

    /** 企业id */
    private Long companyId;

    /** 删除标识 */
    @NotNull(message = "参数值不能为空")
    private Integer deleteFlag = 0;

    /** 年限 */
    private String year;

    /** 销售额 */
    private Double sale;

}
